package com.ustc.hewei.nettyrpc2_0.common.enumeration;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author hewei
 * @version 1.0
 * @description: TODO
 * @date 2022/9/13 21:23
 */

@AllArgsConstructor
public enum RpcResponseStatus {
    SUCCESS(200,"成功"),
    FAIL(500, "失败");

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
